package com.garen.app.boot;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

//启动代码
public class GarenMain {

	private static Log log = LogFactory.getLog(GarenMain.class);
	
	public static void main(String[] args) {
		//switch 时是否可以为null
		String aa = "a";
		String msg = null;
		switch(aa) {
		case "a":
			msg = "aaa";
			break;
		case "b":
			msg = "bbb";
			break;
		}
		log.debug(msg);
	}

}
